<legend class='hyc-legend'>
    <span>{{routeTitle || '添加线路'}}</span>
</legend>
<div class="panel panel-default">
    <div class="panel-heading">{{routeTitle || '添加线路'}}</div>
    <div class="panel-body admin">
        <div class="row">
            <div class="col-md-offset-2 col-md-6">
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right top7">分供方：</div>
                    <div class="col-md-8">
                        <div class="form-group">
                            <button type="button" class="btn btn-default admin-select select hyc-width" ng-model="updateRoute.userId" bs-options="subList.id as subList.name for subList in subList" bs-select placeholder="---请选择---" ng-show="updateRoute.isEdit">
                            </button>
                            <button type="button" class="btn btn-default admin-select select hyc-width" ng-model="updateRoute.userId" bs-options="subList.id as subList.name for subList in subList" bs-select placeholder="---请选择---" disabled ng-hide="updateRoute.isEdit">
                            </button>
                        </div>
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right top7">起始地：</div>
                    <div class="col-md-8">
                        <div class="form-group">
                            <button type="button" class="btn btn-default admin-select select hyc-width" ng-model="updateRoute.orginCode" bs-options="orginList.code as orginList.name for orginList in orginList" bs-select placeholder="---请选择---">
                            </button>
                        </div>
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right top7">目的地：</div>
                    <div class="col-md-8">
                        <div class="form-group">
                            <button type="button" class="btn btn-default admin-select select hyc-width" ng-model="updateRoute.destCode" bs-options="destList.code as destList.name for destList in destList" bs-select placeholder="---请选择---">
                            </button>
                        </div>
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right top7">申请的最大运单数/天：</div>
                    <div class="col-md-8">
                        <div class="form-group">
                            <input type="number" class="input" max="30" ng-model="updateRoute.maximumEveryDay" placeholder="每天申请的最大运单数">
                        </div>
                    </div>
                </div>
                <div class="row margin-bottom-10"></div>
                <div class="row margin-bottom-10">
                    <div class="col-md-offset-4 col-md-8 text-center">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="btn btn btn-default btn-block" onclick="javascript: history.go(-1);">返回</div>
                            </div>
                            <div class="col-md-6">
                                <div class="btn btn btn-warning btn-block" ng-click="saveRoute()">保存</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>